﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02001127 RID: 4391
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class SetAetherDivideLineUpScRsp : IMessage<SetAetherDivideLineUpScRsp>, IMessage, IEquatable<SetAetherDivideLineUpScRsp>, IDeepCloneable<SetAetherDivideLineUpScRsp>, IBufferMessage
	{
		// Token: 0x170037A0 RID: 14240
		// (get) Token: 0x0600C488 RID: 50312 RVA: 0x0021351F File Offset: 0x0021171F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<SetAetherDivideLineUpScRsp> Parser
		{
			get
			{
				return SetAetherDivideLineUpScRsp._parser;
			}
		}

		// Token: 0x170037A1 RID: 14241
		// (get) Token: 0x0600C489 RID: 50313 RVA: 0x00213526 File Offset: 0x00211726
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return SetAetherDivideLineUpScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170037A2 RID: 14242
		// (get) Token: 0x0600C48A RID: 50314 RVA: 0x00213538 File Offset: 0x00211738
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return SetAetherDivideLineUpScRsp.Descriptor;
			}
		}

		// Token: 0x0600C48B RID: 50315 RVA: 0x0021353F File Offset: 0x0021173F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SetAetherDivideLineUpScRsp()
		{
		}

		// Token: 0x0600C48C RID: 50316 RVA: 0x00213548 File Offset: 0x00211748
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SetAetherDivideLineUpScRsp(SetAetherDivideLineUpScRsp other) : this()
		{
			this.retcode_ = other.retcode_;
			this.lineup_ = ((other.lineup_ != null) ? other.lineup_.Clone() : null);
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600C48D RID: 50317 RVA: 0x00213594 File Offset: 0x00211794
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SetAetherDivideLineUpScRsp Clone()
		{
			return new SetAetherDivideLineUpScRsp(this);
		}

		// Token: 0x170037A3 RID: 14243
		// (get) Token: 0x0600C48E RID: 50318 RVA: 0x0021359C File Offset: 0x0021179C
		// (set) Token: 0x0600C48F RID: 50319 RVA: 0x002135A4 File Offset: 0x002117A4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x170037A4 RID: 14244
		// (get) Token: 0x0600C490 RID: 50320 RVA: 0x002135AD File Offset: 0x002117AD
		// (set) Token: 0x0600C491 RID: 50321 RVA: 0x002135B5 File Offset: 0x002117B5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public AetherDivideLineupInfo Lineup
		{
			get
			{
				return this.lineup_;
			}
			set
			{
				this.lineup_ = value;
			}
		}

		// Token: 0x0600C492 RID: 50322 RVA: 0x002135BE File Offset: 0x002117BE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as SetAetherDivideLineUpScRsp);
		}

		// Token: 0x0600C493 RID: 50323 RVA: 0x002135CC File Offset: 0x002117CC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(SetAetherDivideLineUpScRsp other)
		{
			return other != null && (other == this || (this.Retcode == other.Retcode && object.Equals(this.Lineup, other.Lineup) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600C494 RID: 50324 RVA: 0x0021361C File Offset: 0x0021181C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this.lineup_ != null)
			{
				num ^= this.Lineup.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600C495 RID: 50325 RVA: 0x00213671 File Offset: 0x00211871
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600C496 RID: 50326 RVA: 0x00213679 File Offset: 0x00211879
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600C497 RID: 50327 RVA: 0x00213684 File Offset: 0x00211884
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.lineup_ != null)
			{
				output.WriteRawTag(42);
				output.WriteMessage(this.Lineup);
			}
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(120);
				output.WriteUInt32(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600C498 RID: 50328 RVA: 0x002136E0 File Offset: 0x002118E0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this.lineup_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.Lineup);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600C499 RID: 50329 RVA: 0x00213738 File Offset: 0x00211938
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(SetAetherDivideLineUpScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			if (other.lineup_ != null)
			{
				if (this.lineup_ == null)
				{
					this.Lineup = new AetherDivideLineupInfo();
				}
				this.Lineup.MergeFrom(other.Lineup);
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600C49A RID: 50330 RVA: 0x002137A0 File Offset: 0x002119A0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600C49B RID: 50331 RVA: 0x002137AC File Offset: 0x002119AC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 42U)
				{
					if (num != 120U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.Retcode = input.ReadUInt32();
					}
				}
				else
				{
					if (this.lineup_ == null)
					{
						this.Lineup = new AetherDivideLineupInfo();
					}
					input.ReadMessage(this.Lineup);
				}
			}
		}

		// Token: 0x04004F3F RID: 20287
		private static readonly MessageParser<SetAetherDivideLineUpScRsp> _parser = new MessageParser<SetAetherDivideLineUpScRsp>(() => new SetAetherDivideLineUpScRsp());

		// Token: 0x04004F40 RID: 20288
		private UnknownFieldSet _unknownFields;

		// Token: 0x04004F41 RID: 20289
		public const int RetcodeFieldNumber = 15;

		// Token: 0x04004F42 RID: 20290
		private uint retcode_;

		// Token: 0x04004F43 RID: 20291
		public const int LineupFieldNumber = 5;

		// Token: 0x04004F44 RID: 20292
		private AetherDivideLineupInfo lineup_;
	}
}
